package com.gae.blore.client;

import java.util.List;

import com.gae.blore.client.domain.MetroStation;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
 * Interfaces to provide metro station service
 * 
 * @author nss
 * 
 */
@RemoteServiceRelativePath("metroservice")
public interface MetroStationService extends RemoteService {
	/**
	 * Retrieves all metro station
	 * 
	 * @return List of metro station
	 */
	List<MetroStation> getAllMetroStations();
	/**
	 * Retrieves metro station details for the given identifier
	 * 
	 * @param id
	 *            Identifier
	 * @return Metro station details
	 */
	MetroStation getMetroStation(Long id);
}
